package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 菜单权限表
    */
public class Permissions implements Serializable {
    /**
    * 菜单ID
    */
    private Integer id;

    /**
    * 菜单名称
    */
    private String name;

    /**
    * 父菜单ID，一级菜单为0
    */
    private Integer parentId;

    /**
    * 显示顺序
    */
    private Integer orderNum;

    /**
    * 请求地址
    */
    private String url;

    /**
    * 权限标识
    */
    private String perms;

    /**
    * 打开方式（menuItem页签 menuBlank新窗口）
    */
    private String target;

    /**
    * 菜单类型（M目录 C菜单 F按钮）
    */
    private String type;

    /**
    * 菜单状态（0显示 1隐藏）
    */
    private Boolean visible;

    /**
    * 菜单图标
    */
    private String icon;

    /**
    * 创造者id
    */
    private Integer createById;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 修改者的id
    */
    private Integer updateById;

    /**
    * 更新时间
    */
    private Date updateTime;

    /**
    * 备注
    */
    private String remark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPerms() {
        return perms;
    }

    public void setPerms(String perms) {
        this.perms = perms;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getVisible() {
        return visible;
    }

    public void setVisible(Boolean visible) {
        this.visible = visible;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getCreateById() {
        return createById;
    }

    public void setCreateById(Integer createById) {
        this.createById = createById;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateById() {
        return updateById;
    }

    public void setUpdateById(Integer updateById) {
        this.updateById = updateById;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", parentId=").append(parentId);
        sb.append(", orderNum=").append(orderNum);
        sb.append(", url=").append(url);
        sb.append(", perms=").append(perms);
        sb.append(", target=").append(target);
        sb.append(", type=").append(type);
        sb.append(", visible=").append(visible);
        sb.append(", icon=").append(icon);
        sb.append(", createById=").append(createById);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateById=").append(updateById);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}